<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="reportId" name="reportId" th:value="${report.reportId}"  type="hidden">
							<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">档案id：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="traceabilityFileId" name="traceabilityFileId" th:value="${report.traceabilityFileId}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">商户id：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="companyId" name="companyId" th:value="${report.companyId}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
														<div class="form-group">	
								<label class="col-sm-3 control-label">名称：</label>
								<div class="col-sm-8">
									<input id="reportName" name="reportName" th:value="${report.reportName}" class="form-control" type="text">
								</div>
							</div>
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">状态0正常1删除：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="state" name="state" th:value="${report.state}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
														<div class="form-group">	
								<label class="col-sm-3 control-label">批次：</label>
								<div class="col-sm-8">
									<input id="batchNumber" name="batchNumber" th:value="${report.batchNumber}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">检测时间：</label>
								<div class="col-sm-8">
									<input id="checkDate" name="checkDate" th:value="${report.checkDate}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">检测人：</label>
								<div class="col-sm-8">
									<input id="checkBy" name="checkBy" th:value="${report.checkBy}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">检测类型：</label>
								<div class="col-sm-8">
									<select id="checkTypeId" name="checkTypeId"  class="form-control">

									</select>
								</div>
							</div>
<!--														<div class="form-group">	-->
<!--								<label class="col-sm-3 control-label">检测企业机构：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<select id="checkMechanismId" name="checkMechanismId"  class="form-control">-->
<!--										<option value="" >&#45;&#45;&#45;&#45;请选择&#45;&#45;&#45;&#45;</option>-->
<!--									</select>-->
<!--								</div>-->
<!--							</div>-->

<!--														<div class="form-group">	-->
<!--								<label class="col-sm-3 control-label">检测人电话(非必填)：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<input id="checkPhone" name="checkPhone" th:value="${report.checkPhone}" class="form-control" type="text">-->
<!--								</div>-->
<!--							</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">创建人：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="createBy" name="createBy" th:value="${report.createBy}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">创建时间：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="createDate" name="createDate" th:value="${report.createDate}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
									<input type="button" class="btn btn-danger" value="取消"
										   onclick="javascript:
											var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引
				                            parent.layer.close(index);">
									</input>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" th:inline="javascript">
		function formatDate() {
			var date = [[${report.checkDate}]]
            date = date.substring(0,10)
            laydate.render({
                elem : '#checkDate',
                value : date
            });
        }

        function getCheckTypeId() {
			var checkTypeId = [[${report.checkTypeId}]]
			return checkTypeId;
        }

        function getcheckMechanismId() {
            var checkMechanismId = [[${report.checkMechanismId}]]
            return checkMechanismId;
        }


	</script>

	<script type="text/javascript" th:src="@{/js/appjs/report/report/edit.js}" src="/js/appjs/report/report/edit.js">
	</script>
</body>
</html>
